# @Author   : XiongBinFei
# @Version  : 1.0
# @Time     : 2025/3/5 14:23
strs = input("请输入字符：")
strs_len = len(strs)

e_num = 0 # 英文字符数
sp_num = 0 # 空格数
dig_num = 0 # 数字个数
oth_num = 0 # 其他字符数


for i in range(0, strs_len):
    if strs[i].isalpha():
        e_num += 1
    elif strs[i].isspace():
        sp_num += 1
    elif strs[i].isdigit():
        dig_num += 1
    else:
        oth_num += 1

print(f"英文字符数：{e_num}")
print(f"空格数：{sp_num}")
print(f"数字个数：{dig_num}")
print(f"其他字符数：{oth_num}")